<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>embedme: libemb/inc/ComPort.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">embedme
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.8 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_574d9269cd334a9d02d8928365303d98.html">libemb</a></li><li class="navelem"><a class="el" href="dir_207aad82934689048a9003fb51f06f7f.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#enum-members">枚举</a>  </div>
  <div class="headertitle">
<div class="title">ComPort.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="_i_o_device_8h_source.html">IODevice.h</a>&quot;</code><br />
<code>#include &lt;termios.h&gt;</code><br />
<code>#include &lt;unistd.h&gt;</code><br />
</div>
<p><a href="_com_port_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_com_port.html">ComPort</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">串口设备类.  <a href="class_com_port.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:a5918fe826d52ebeb80f0702003cafa06"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_com_port_8h.html#a5918fe826d52ebeb80f0702003cafa06">BAUDRATE_E</a> { <br />
&#160;&#160;<b>BAUD_1200</b> = 1200, 
<b>BAUD_2400</b> = 2400, 
<b>BAUD_4800</b> = 4800, 
<b>BAUD_9600</b> = 9600, 
<br />
&#160;&#160;<b>BAUD_19200</b> = 19200, 
<b>BAUD_38400</b> = 38400, 
<b>BAUD_57600</b> = 57600, 
<b>BAUD_115200</b> = 115200, 
<br />
&#160;&#160;<b>BAUD_460800</b> = 460800
<br />
 }</td></tr>
<tr class="separator:a5918fe826d52ebeb80f0702003cafa06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1de03bb13aeacac6843d140c989c3d68"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_com_port_8h.html#a1de03bb13aeacac6843d140c989c3d68">DATABITS_E</a> { <b>DATA_5</b> =5, 
<b>DATA_6</b>, 
<b>DATA_7</b>, 
<b>DATA_8</b>
 }</td></tr>
<tr class="separator:a1de03bb13aeacac6843d140c989c3d68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cc6d042f35aadef20feb961e7994206"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_com_port_8h.html#a8cc6d042f35aadef20feb961e7994206">STOPBITS_E</a> { <b>STOP_1</b> =1, 
<b>STOP_2</b>
 }</td></tr>
<tr class="separator:a8cc6d042f35aadef20feb961e7994206"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60b68ab60f93ff7acecde69ec4c8c009"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_com_port_8h.html#a60b68ab60f93ff7acecde69ec4c8c009">PARITY_E</a> { <b>PARITY_NONE</b> =0, 
<b>PARITY_ODD</b>, 
<b>PARITY_EVEN</b>, 
<b>PARITY_SPACE</b>
 }</td></tr>
<tr class="separator:a60b68ab60f93ff7acecde69ec4c8c009"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04d52696306a4d09ad2e16b88b29c0f8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_com_port_8h.html#a04d52696306a4d09ad2e16b88b29c0f8">FLOWCTRL_E</a> { <b>FLOWCTRL_NONE</b> =0, 
<b>FLOWCTRL_HW</b>, 
<b>FLOWCTRL_SW</b>
 }</td></tr>
<tr class="separator:a04d52696306a4d09ad2e16b88b29c0f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af845d7b11d8c598fdad5f291e08b3053"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_com_port_8h.html#af845d7b11d8c598fdad5f291e08b3053">COM_ATTR_E</a> { <br />
&#160;&#160;<b>COM_ATTR_BAUDRATE</b> =0, 
<b>COM_ATTR_DATABITS</b>, 
<b>COM_ATTR_STOPBITS</b>, 
<b>COM_ATTR_PARITY</b>, 
<br />
&#160;&#160;<b>COM_ATTR_FLOWCTRL</b>
<br />
 }</td></tr>
<tr class="separator:af845d7b11d8c598fdad5f291e08b3053"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">枚举类型说明</h2>
<a class="anchor" id="a5918fe826d52ebeb80f0702003cafa06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_com_port_8h.html#a5918fe826d52ebeb80f0702003cafa06">BAUDRATE_E</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>串口波特率值 </p>

</div>
</div>
<a class="anchor" id="af845d7b11d8c598fdad5f291e08b3053"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_com_port_8h.html#af845d7b11d8c598fdad5f291e08b3053">COM_ATTR_E</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>串口属性类型 </p>

</div>
</div>
<a class="anchor" id="a1de03bb13aeacac6843d140c989c3d68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_com_port_8h.html#a1de03bb13aeacac6843d140c989c3d68">DATABITS_E</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>串口数据位值 </p>

</div>
</div>
<a class="anchor" id="a04d52696306a4d09ad2e16b88b29c0f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_com_port_8h.html#a04d52696306a4d09ad2e16b88b29c0f8">FLOWCTRL_E</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>串口流控位值 </p>

</div>
</div>
<a class="anchor" id="a60b68ab60f93ff7acecde69ec4c8c009"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_com_port_8h.html#a60b68ab60f93ff7acecde69ec4c8c009">PARITY_E</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>串口校验位值 </p>

</div>
</div>
<a class="anchor" id="a8cc6d042f35aadef20feb961e7994206"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_com_port_8h.html#a8cc6d042f35aadef20feb961e7994206">STOPBITS_E</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>串口停止位值 </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2016年 七月 7日 星期四 19:49:37 , 为 embedme使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>
